<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>申请售后-{$tpshop_config['shop_info_store_title']}</title>
<meta name="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
<!--<link rel="stylesheet" href="__STATIC__/css/index.css" type="text/css">
<link rel="stylesheet" href="__STATIC__/css/outhu.css" type="text/css">-->
<link rel="stylesheet" href="__STATIC__/css/index.css" type="text/css">
<link rel="stylesheet" href="__STATIC__/css/myuser.css" type="text/css">
<script src="__STATIC__/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/js/global.js"></script>
<script src="__PUBLIC__/js/pc_common.js"></script>
<script src="__PUBLIC__/js/layer/layer.js"></script><!--弹窗js 参考文档 http://layer.layui.com/-->    
</head>

<body>

<!--------头部开始--------------> 
<include file="Public/header" />
<include file="Public/topnav" />
<!--------头部结束-------------->

<div class="page_pad">
  <div class="page_margin">
    <div class="page_radius page_hidden">
      <div class="page_padin">
        <div class="user_page">
          <div class="user_poi">当前位置：首页 &gt; <span>我购买的网店</span></div>
          <div class="user_left">
            <include file="User/userleft" />
          </div><!--user_left-->

          <div class="user_right">
            <div class="uright_tit">申请退款：</div>
            <form name="return_form" id="return_form" autocomplete="off" method="post" onsubmit="return submit_form(this)">
              <div class="ginput_div">
              <select class="gselect" name="yuanyin" id="yuanyin">
                <option value="0">--请选择原因--</option>
                <option value="因店铺与网站上描述不符">因店铺与网站上描述不符</option>
                <option value="因店铺过户手续有问题">因店铺过户手续有问题</option>
                <option value="因其他卖方问题">因其他卖方问题</option>
                <option value="因其他朋伴问题">因其他朋伴问题</option>
                <option value="因买家问题">因买家问题</option>
                <option value="其他">其他</option>
              </select>
              </div>
              
              <div class="ginput_div"><textarea class="gtext" style="width:100%; height:240px;" name="reason" id="reason" cols="" rows=""></textarea></div>
              <div class="ginput_div" style="font-size:14px;">10-500字 请您如实填写申请原因及商品情况，字数在500字内。</div>
              
              <div class="ginput_div"><button class="gbutton gbutton_col1" type="submit">提交</button></div>
             
              <input type="hidden" name="order_id" value="{$order_id}" />
              <input type="hidden" name="order_sn" value="{$order_sn}" />
              <input type="hidden" name="goods_id" value="{$goods_id}" />
              <input type="hidden" name="spec_key" value="{$_GET[spec_key]}" />
            </form>
          </div><!--user_right-->
        </div><!--user_page-->
      </div><!--page_padin-->
    </div><!--page_radius-->
  </div><!--page_margin-->
</div><!--page_pad-->


<!--------footer-开始--------------> 
<include file="Public/footer" /> 
<!--------footer-结束-------------->

</body>
<script>
  function submit_form()
  {
	  var reason = $.trim($('#reason').val());
	  var yuanyin= $.trim($('#yuanyin').val());
	  if(yuanyin == '0')
	  {
		  layer.alert('请选择原因', {icon: 2});// alert('请选择退换货原因!');
		  return false;
	  }

	  if(reason == '')
	  {
          layer.alert('请填写退换货描述', {icon: 2});// alert('请填写退换货描述!');
          return false;
      }
	  $('#return_form').submit();
  }
</script>
</html>